<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:insert="../templates/public/_index::head">
    <title id="title">角色管理</title>
    <style id="style">

    </style>
</head>
<body th:insert="../templates/public/_index::body">

<div th:fragment="contents">
    <div class="layui-tab" th:include="../templates/role/_title"></div>

    <form class="layui-form layui-form-pane" action="{:url('admin/user/index')}" method="get">
        <div class="layui-inline">
            <label class="layui-form-label">关键词</label>
            <div class="layui-input-inline">
                <input type="text" name="keyword" value="{$keyword}" placeholder="请输入关键词" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <button class="layui-btn">搜索</button>
        </div>
    </form>

    <table class="layui-table">
        <thead>
        <tr>
            <th style="width: 30px;">ID</th>
            <th>角色名</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="data : ${lists}">
            <td th:text="${data.id}">Onions</td>
            <td th:text="${data.name}">2.41</td>
            <td>
                <a href="" class="layui-btn ">修改</a>
                <a href="" class="layui-btn layui-btn-normal">删除</a>
            </td>
        </tr>

        </tbody>
    </table>

</div>


<div id="script">
    <script></script>
</div>

</body>

</html>